import request from '@/api/socialized-servce/index.js' //引入http.js
const api = request
export default {
	// 订单评价-未评价
	appraiseOrder(params) {
		let url = 'service/service/evaluation/evaluate'
		return api.request(url, 'post', {
			...params
		})
	},
	// 评价内容-已评价
	queryEvaluationContent(orderNo) {
		let url = `service/service/evaluation/msg/${orderNo}`
		return api.request(url, 'get')
	},
	// 评价模板
	queryEvaluationTemplate(orderNo) {
		let url = `service/service/evaluation/template/${orderNo}`
		return api.request(url, 'get')
	}
}